<?php

include_once('includes/db.php');
include_once('includes/secure.php');
include_once('includes/db.php');
function menu()
{
?>	
	<li><a href='#'>Home</a></li>
<?php	
}
?>

<?php
include_once('header.php');

$id=$_GET['id'];
$str="SELECT * FROM `article` WHERE `id`=$id";
$result=mysql_query($str);
$row=mysql_fetch_array($result);
echo '<h2>'.$row['title'].'</h2>';
echo $row['article']."<br/><br/>";
echo "<a href='article_download.php?id=".$row['id']."'>download</a>";
include('footer.php');
?>